package com.springboot.project.dao.master;

import com.springboot.project.domain.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author liupenghui
 * @date 2018/7/10
 * @desc：
 */
@Repository
@Mapper
public interface UserInfoDao {

    /**
     * 通过username查找用户信息;
     */
    UserInfo findByUsername(@Param("username") String username);
}
